package com.bzkj.inventory.domain.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName NccInventoryDataVo
 * @Description TODO
 * @Author C1309
 * @Date 2025/5/12 15:42
 */
public class NccInventory {
    /** 物料主键 */
    private String pkMaterial;

    /** 批次主键 */
    private String pkBatchCode;

    /** 批次号 */
    private String vbatchcode;

    /** 库存总数量 */
    private BigDecimal skuNum;

    /** 单位（name6） */
    private String cunitid;

    /** 供应商代码（vdef_2） */
    private String senderType;

    /** 包材版本（vdef_3） */
    private String packVersion;

    /** 合格数量 */
    private BigDecimal qualifiedNum;

    /** 不合格数量 */
    private BigDecimal unqualifiedNum;

    /** 待验数量 */
    private BigDecimal quarantineNum;

    /** 限制合格数量 */
    private BigDecimal limitQualifiedNum;

    /** 无库存状态管理数量*/
    private BigDecimal skunNoStateNum;

    /** 研究用数量 */
    private BigDecimal researchNum;

    /** 合格不予上市数量 */
    private BigDecimal qualifiedNoUseNum;

    /** 待处理数量 */
    private BigDecimal pendingNum;

    /** 生产商（name7） */
    private String productName;

    /** 仓库id */
    private String cwarehouseId;

    /** 仓库名称 */
    private String warehouseName;

    /** 有效期至(dvalidate1) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date expDate;

    /** 生产日期(dproducedate1) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date pdDate;

    /** 物料名称(name5) */
    private String materialName;

    /** 供应商批次号 */
    private String vvendbatchcode;

    /** 单位PK(cunitid)*/
    private String pkUnit;

    /** 生产商(cproductorid） */
    private String cproductorid;


    public String getPkMaterial() {
        return pkMaterial;
    }

    public void setPkMaterial(String pkMaterial) {
        this.pkMaterial = pkMaterial;
    }

    public String getPkBatchCode() {
        return pkBatchCode;
    }

    public void setPkBatchCode(String pkBatchCode) {
        this.pkBatchCode = pkBatchCode;
    }

    public String getVbatchcode() {
        return vbatchcode;
    }

    public void setVbatchcode(String vbatchcode) {
        this.vbatchcode = vbatchcode;
    }

    public BigDecimal getSkuNum() {
        return skuNum;
    }

    public void setSkuNum(BigDecimal skuNum) {
        this.skuNum = skuNum;
    }

    public String getCunitid() {
        return cunitid;
    }

    public void setCunitid(String cunitid) {
        this.cunitid = cunitid;
    }

    public String getSenderType() {
        return senderType;
    }

    public void setSenderType(String senderType) {
        this.senderType = senderType;
    }

    public String getPackVersion() {
        return packVersion;
    }

    public void setPackVersion(String packVersion) {
        this.packVersion = packVersion;
    }

    public BigDecimal getQualifiedNum() {
        return qualifiedNum;
    }

    public void setQualifiedNum(BigDecimal qualifiedNum) {
        this.qualifiedNum = qualifiedNum;
    }

    public BigDecimal getUnqualifiedNum() {
        return unqualifiedNum;
    }

    public void setUnqualifiedNum(BigDecimal unqualifiedNum) {
        this.unqualifiedNum = unqualifiedNum;
    }

    public BigDecimal getQuarantineNum() {
        return quarantineNum;
    }

    public void setQuarantineNum(BigDecimal quarantineNum) {
        this.quarantineNum = quarantineNum;
    }

    public BigDecimal getLimitQualifiedNum() {
        return limitQualifiedNum;
    }

    public void setLimitQualifiedNum(BigDecimal limitQualifiedNum) {
        this.limitQualifiedNum = limitQualifiedNum;
    }

    public BigDecimal getSkunNoStateNum() {
        return skunNoStateNum;
    }

    public void setSkunNoStateNum(BigDecimal skunNoStateNum) {
        this.skunNoStateNum = skunNoStateNum;
    }

    public BigDecimal getResearchNum() {
        return researchNum;
    }

    public void setResearchNum(BigDecimal researchNum) {
        this.researchNum = researchNum;
    }

    public BigDecimal getQualifiedNoUseNum() {
        return qualifiedNoUseNum;
    }

    public void setQualifiedNoUseNum(BigDecimal qualifiedNoUseNum) {
        this.qualifiedNoUseNum = qualifiedNoUseNum;
    }

    public BigDecimal getPendingNum() {
        return pendingNum;
    }

    public void setPendingNum(BigDecimal pendingNum) {
        this.pendingNum = pendingNum;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Date getExpDate() {
        return expDate;
    }

    public void setExpDate(Date expDate) {
        this.expDate = expDate;
    }

    public Date getPdDate() {
        return pdDate;
    }

    public void setPdDate(Date pdDate) {
        this.pdDate = pdDate;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getVvendbatchcode() {
        return vvendbatchcode;
    }

    public void setVvendbatchcode(String vvendbatchcode) {
        this.vvendbatchcode = vvendbatchcode;
    }

    public String getPkUnit() {
        return pkUnit;
    }

    public void setPkUnit(String pkUnit) {
        this.pkUnit = pkUnit;
    }

    public String getCproductorid() {
        return cproductorid;
    }

    public void setCproductorid(String cproductorid) {
        this.cproductorid = cproductorid;
    }

    public String getCwarehouseId() {
        return cwarehouseId;
    }

    public void setCwarehouseId(String cwarehouseId) {
        this.cwarehouseId = cwarehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    @Override
    public String toString() {
        return "NccInventory{" +
                "pkMaterial='" + pkMaterial + '\'' +
                ", pkBatchCode='" + pkBatchCode + '\'' +
                ", vbatchcode='" + vbatchcode + '\'' +
                ", skuNum=" + skuNum +
                ", cunitid='" + cunitid + '\'' +
                ", senderType='" + senderType + '\'' +
                ", packVersion='" + packVersion + '\'' +
                ", qualifiedNum=" + qualifiedNum +
                ", unqualifiedNum=" + unqualifiedNum +
                ", quarantineNum=" + quarantineNum +
                ", limitQualifiedNum=" + limitQualifiedNum +
                ", skunNoStateNum=" + skunNoStateNum +
                ", researchNum=" + researchNum +
                ", qualifiedNoUseNum=" + qualifiedNoUseNum +
                ", pendingNum=" + pendingNum +
                ", productName='" + productName + '\'' +
                ", cwarehouseId='" + cwarehouseId + '\'' +
                ", warehouseName='" + warehouseName + '\'' +
                ", expDate=" + expDate +
                ", pdDate=" + pdDate +
                ", materialName='" + materialName + '\'' +
                ", vvendbatchcode='" + vvendbatchcode + '\'' +
                ", pkUnit='" + pkUnit + '\'' +
                ", cproductorid='" + cproductorid + '\'' +
                '}';
    }
}
